package com.validateCodeYzm.zpf.lib;

import java.io.File;
import java.util.Map;

public class HttpResponseCollect {

    private String body;

    private String cookie;

    private Map<String,String> responseHeader;

    private File file;//下载的文件

    public HttpResponseCollect(String body, String cookie, Map<String, String> responseHeader) {
        this.body = body;
        this.cookie = cookie;
        this.responseHeader = responseHeader;
    }

    public HttpResponseCollect(String cookie, File file) {
        this.cookie = cookie;
        this.file = file;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public Map<String, String> getResponseHeader() {
        return responseHeader;
    }

    public void setResponseHeader(Map<String, String> responseHeader) {
        this.responseHeader = responseHeader;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }
}
